package mapper;

import org.apache.ibatis.annotations.Param;
import pojo.Supplier;

import java.util.List;

public interface SupplierMapper {
    List<Supplier> select(@Param("supCode") String supCode, @Param("supName") String supName, @Param("pageIndex")Integer pageIndex, @Param("pageSize")Integer pageSize);
    int add(Supplier sup);
    int del(String id);
    int count(@Param("supCode") String supCode, @Param("supName") String supName);
    Supplier getSupplierById(String id);
    int updateSupplier(Supplier supplier);
}
